package org.admin.entity.vo;

import lombok.Data;
import org.admin.entity.domain.App;

@Data
public class AppFetchVo {
    private Integer id;
    private String module;

    private String name;

    private String detail;

    private String picture;

    private Integer sort;

    public AppFetchVo(App app) {
        this.id = app.getId();
        this.module = app.getModule();
        this.name = app.getName();
        this.detail = app.getDetail();
        this.picture = app.getPicture();
        this.sort = app.getSort();
    }
}
